5.9
MEDIUM CVSS 3.0
CVE-2016-5725
JSch SFTP Directory Traversal Vulnerability
Description

Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE, allows remote SFTP servers to write to arbitrary files via a ..\ (dot dot backslash) in a response to a recursive GET command.

INFO

Published Date :

Jan. 19, 2017, 10:59 p.m.

Last Modified :

April 20, 2025, 1:37 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2016-5725 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Microsoft windows
1 Jcraft jsch
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 MEDIUM [email protected]
Solution
This addresses a directory traversal vulnerability in JCraft JSch.
  • Upgrade JSch to a version greater than 0.1.53.
  • Apply the latest patch or update provided by your vendor.
Public PoC/Exploit Available at Github

CVE-2016-5725 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-5725.

URL Resource
http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html Third Party Advisory VDB Entry
http://seclists.org/fulldisclosure/2016/Sep/53 Mailing List Third Party Advisory
http://www.jcraft.com/jsch/ChangeLog Release Notes
http://www.securityfocus.com/bid/93100 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3115
https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html
https://www.exploit-db.com/exploits/40411/ Third Party Advisory VDB Entry
https://www.oracle.com/security-alerts/cpuApr2021.html
https://www.oracle.com/security-alerts/cpujan2021.html
https://www.oracle.com/security-alerts/cpuoct2020.html
http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html Third Party Advisory VDB Entry
http://seclists.org/fulldisclosure/2016/Sep/53 Mailing List Third Party Advisory
http://www.jcraft.com/jsch/ChangeLog Release Notes
http://www.securityfocus.com/bid/93100 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3115
https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html
https://www.exploit-db.com/exploits/40411/ Third Party Advisory VDB Entry
https://www.oracle.com/security-alerts/cpuApr2021.html
https://www.oracle.com/security-alerts/cpujan2021.html
https://www.oracle.com/security-alerts/cpuoct2020.html
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-5725 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A centralized repository of standalone security patches for open source libraries.

appsec backport cve devsecops fix hotfix open-source patch protection remediation seal security update upgrade vulnerability

Updated: 1 year, 1 month ago
182 stars 0 fork 0 watcher
Born at : July 30, 2023, 4:46 p.m. This repo has been linked 265 different CVEs too.

CSV-Compare is a tool for comparing vulnerability scans as reported in CSV files outputted by mergebase and OWASP-Dependency-Check tools. TAG_TOOL, OWNER_KEN, DC_PUBLIC

Java

Updated: 1 year, 11 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 2, 2022, 11:27 p.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-5725 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-5725 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html
    Added Reference http://seclists.org/fulldisclosure/2016/Sep/53
    Added Reference http://www.jcraft.com/jsch/ChangeLog
    Added Reference http://www.securityfocus.com/bid/93100
    Added Reference https://access.redhat.com/errata/RHSA-2017:3115
    Added Reference https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725
    Added Reference https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html
    Added Reference https://www.exploit-db.com/exploits/40411/
    Added Reference https://www.oracle.com/security-alerts/cpuApr2021.html
    Added Reference https://www.oracle.com/security-alerts/cpujan2021.html
    Added Reference https://www.oracle.com/security-alerts/cpuoct2020.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jun. 14, 2021

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpuApr2021.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 20, 2021

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpujan2021.html [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 20, 2020

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpuoct2020.html [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 25, 2020

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 02, 2017

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:3115 [No Types Assigned]
  • Initial Analysis by [email protected]

    Jan. 20, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html No Types Assigned http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html Third Party Advisory, VDB Entry
    Changed Reference Type https://www.exploit-db.com/exploits/40411/ No Types Assigned https://www.exploit-db.com/exploits/40411/ Third Party Advisory, VDB Entry
    Changed Reference Type http://www.jcraft.com/jsch/ChangeLog No Types Assigned http://www.jcraft.com/jsch/ChangeLog Release Notes
    Changed Reference Type http://www.securityfocus.com/bid/93100 No Types Assigned http://www.securityfocus.com/bid/93100 Third Party Advisory, VDB Entry
    Changed Reference Type http://seclists.org/fulldisclosure/2016/Sep/53 No Types Assigned http://seclists.org/fulldisclosure/2016/Sep/53 Third Party Advisory, Mailing List
    Changed Reference Type https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 No Types Assigned https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 Third Party Advisory
    Added CWE CWE-22
    Added CPE Configuration AND OR *cpe:2.3:a:jcraft:jsch:0.1.53:*:*:*:*:*:*:* (and previous) OR cpe:2.3:o:microsoft:windows:*:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.9
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

32.21 }} 0.43%

score

0.96650

percentile